package com.kl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("staff_warehouse")
@ApiModel(value="StaffWarehouse对象", description="")
public class StaffWarehouse extends Model<StaffWarehouse> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收货站点仓库id")
    @TableId(value = "sw_id_furl", type = IdType.AUTO)
    private Long swIdFurl;

    @ApiModelProperty(value = "站点id")
    @TableField("lid")
    private Long lid;

    @ApiModelProperty(value = "仓库状态(0运营,1关闭,2满仓)")
    @TableField("warehouse_status")
    private Integer warehouseStatus;

    @ApiModelProperty(value = "仓库管理(员工)")
    @TableField("sid")
    private Long sid;

    @ApiModelProperty(value = "发货站点仓库id")
    @TableField("sw_id_hair")
    private Long swIdHair;

    @ApiModelProperty(value = "省")
    @TableField("province_id")
    private Long provinceId;

    @ApiModelProperty(value = "市")
    @TableField("city_id")
    private Long cityId;

    @ApiModelProperty(value = "县")
    @TableField("county_id")
    private Long countyId;


}
